from com.xunai.saas.example.Common import CommonRequest


class HandApi(CommonRequest):
    """
    手诊
    """

    def hand(self, leftHandImgPath, rightHandImgPath, notifyUrl):
        """
        手诊
        :return:
        """
        body = {"leftHandImgPath": leftHandImgPath, "rigthHandImgPath": rightHandImgPath, "notifyUrl": notifyUrl}
        rs = super().post("/xunai-saas/saasApi/v1/hand/analysis", body)
        print(rs.json())


if __name__ == "__main__":
    HandApi().hand("左手", "右手", "回调通知地址")
